package com.ctyon.common.event;

/**
 * CreateDate：19-7-6 on 下午3:34
 * Describe:
 * Coder: lee
 */
public class HeartMessageEvent {

    private String step;
    private String battery;

    public HeartMessageEvent(String data) {
        String[] s = data.split("\\*");
        this.step = s[0];
        this.battery = s[1];

    }

    public String getStep() {
        return step;
    }

    public void setStep(String step) {
        this.step = step;
    }

    public String getBattery() {
        return battery;
    }

    public void setBattery(String battery) {
        this.battery = battery;
    }
}
